home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Jul 90 / MacApp.Tech$ 7⁄13⁄90 / 1557-Mixing C & Pascal-Jul90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.4 KB  |  43 lines  |  [TEXT/GEOL]

  1. Item    4632163                         8-July-90        10:51PDT
  2.  
  3. From:   ARGII                           Argii Design Group, M Demeyer,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Mixing C & Pascal
  8.  
  9. Hi,
  10.  
  11. For those who have paved the way to using C with MacApp:
  12.  
  13. We have recently added a library written in C to our app written with
  14. MacApp 2.0ß9 (and MPW 3.0 & Pascal 3.0).  We have not gotten very far:
  15. nothing seems to happen when our app is running!  Here are some of the
  16. things we did:
  17.  
  18. 1. The library to be linked with our app needs some routines from
  19.    "StdCLib.o", so we linked "StdCLib.o" with our app.  But, then
  20.    the remaining routines in "StdCLib.o" turned out to be duplicates
  21.    of those in "PasLib.o".  (We need "PasLib.o" for our app.)  Is
  22.    this a problem?
  23.  
  24. 2. The "StdCLib.o" we are using here is actually from C 3.1, but
  25.    everything else is older: MPW 3.0, Pascal 3.0, MacApp 2.0ß9.
  26.    (There is not enough time to convert our app to 3.1; and
  27.    C was just bought, so it is the latest version.)  Is mixing
  28.    newer "StdCLib.o" with older things a problem?
  29.  
  30. 3. Must other "basic" C libraries be included also:  "CRuntime.o",
  31.    "CInterface.o", etc.?  If so, which and why?
  32.  
  33. 4.  Should there be any changes to MAMake file, USES statements, etc.?
  34.  
  35. 5. What are other things that should be done?
  36.  
  37.  
  38. Thanks very very much,
  39.  
  40. Anh Nguyen
  41. Argii Design Group
  42.  
  43.